package com.etc.entity;

public class Cart {
    private Integer cartid;

    private Integer userid;

    private Double total;

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public Cart(Integer cartid, Integer userid, Double total) {
        this.cartid = cartid;
        this.userid = userid;
        this.total = total;
    }

    public Cart() {
    }

    @Override
    public String toString() {
        return "Cart{" +
                "cartid=" + cartid +
                ", userid=" + userid +
                ", total=" + total +
                '}';
    }
}